﻿using System.Collections.Generic;

namespace QuickRunCore.Models
{
    /// <summary>
    /// 图标类
    /// </summary>
    public class ShortcutModel
    {
        /// <summary>
        /// 图标ID
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// 文件路径
        /// </summary>
        public string FilePath { get; set; }

        /// <summary>
        /// 文件启动参数
        /// </summary>
        public string RunParam { get; set; }

        /// <summary>
        /// 文件名称
        /// </summary>
        public string FileName { get; set; }


        /// <summary>
        /// 图标缓存文件路径
        /// </summary>
        public string icoCacheFilePath { get; set; }

        /// <summary>
        /// 排序用ID
        /// </summary>
        public int SortID { get; set; }
    }

    /// <summary>
    /// 图标组类
    /// </summary>
    public class ShortcutGroupModel
    {
        /// <summary>
        /// 分组ID
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// 分组名称
        /// </summary>
        public string GroupName { get; set; }

        /// <summary>
        /// 图标类列表
        /// </summary>
        public List<ShortcutModel> ShortcutList { get; set; }

        /// <summary>
        /// 排序用ID
        /// </summary>
        public int SortID { get; set; }

        public ShortcutGroupModel()
        {
            ShortcutList = new List<ShortcutModel>();
        }

    }
}
